var router = require('koa-router')();

import file from "./file";
import authority from "./authority";
import user from "./user";
import loan from "./loan";
import operation from "./operation";
import protocol from "./protocol";
import generalize from "./generalize";
import weixin from "./weixin";




router.use('/file', file.routes(), file.allowedMethods());
router.use('/authority', authority.routes(), authority.allowedMethods());
router.use('/user', user.routes(), user.allowedMethods());
router.use('/loan', loan.routes(), loan.allowedMethods());
router.use('/operation', operation.routes(), operation.allowedMethods());
router.use('/protocol', protocol.routes(), protocol.allowedMethods());
router.use('/generalize', generalize.routes(), generalize.allowedMethods());
router.use('/weixin', weixin.routes(), weixin.allowedMethods());


export default router;
